package com.digital.smartgrow.entity.business;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 职评明细表
 * </p>
 *
 * @author sunyuechao
 * @since 2022-07-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("up_job_log")
@ApiModel(value="UpJobLog对象", description="职评明细表")
public class UpJobLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "申报人编号")
    @TableField("userCode")
    private String userCode;

    @ApiModelProperty(value = "申报人姓名")
    @TableField("userName")
    private String userName;

    @ApiModelProperty(value = "性别")
    @TableField("gender")
    private String gender;

    @ApiModelProperty(value = "所属院系")
    @TableField("faculty")
    private String faculty;

    @ApiModelProperty(value = "系列")
    @TableField("series")
    private String series;

    @ApiModelProperty(value = "专业")
    @TableField("major")
    private String major;

    @ApiModelProperty(value = "职务")
    @TableField("upPost")
    private String upPost;

    @ApiModelProperty(value = "级别")
    @TableField("upLevel")
    private String upLevel;

    @ApiModelProperty(value = "年度")
    @TableField("year")
    private String year;

    @ApiModelProperty(value = "填报开始时间")
    @TableField("startTime")
    private String startTime;

    @ApiModelProperty(value = "填报截止时间")
    @TableField("endTime")
    private String endTime;

    @ApiModelProperty(value = "填报时间")
    @TableField("upTime")
    private String upTime;

    @ApiModelProperty(value = "审核状态 待审核：0，审核中：1，通过：2，打回重新申报：-1,不通过：-2")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "职评ID")
    @TableField("upJobCode")
    private Integer upJobCode;

    @ApiModelProperty(value = "信息表ID")
    @TableField("upBaseId")
    private Integer upBaseId;


    @ApiModelProperty(value = "审核进度 0 申报 1 第一次审核，以此类推")
    @TableField("checkStep")
    private Integer checkStep;

    @ApiModelProperty(value = "创建时间")
    @TableField("createTime")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("updataTIme")
    private LocalDateTime updataTIme;

    @ApiModelProperty(value = "专家审核数")
    @TableField("expertCount")
    private LocalDateTime expertCount;
    /**审批明细**/
    @ApiModelProperty(value = "审核明细")
    @TableField(exist = false)
    private List<UpProcessLog> processLogList;



}
